import App from './App'
import Home from './container/home'
import Login from './container/login'

export default [
  {
    path: '/',
    component: App,
    loadData: App.loadData,
    routes:[
      {
        path: '/',
        component: Home,
        exact: true,
        loadData: Home.loadData//调用的是Home的静态方法loadData
      }, {
        path: '/login',
        component: Login,
        exact: true
      }
    ]
  }
]